{#include file="header.tpl"#}
<link rel="stylesheet" type="text/css" href="{#$RS_URL#}/error.css"/>

<div class="error_main">
<div class="msg_main">
<h3>提示信息</h3>
<div class="error_msg">{#$msg.msg#} <br/><span id="time"></span></div>
<!--<div class="msg_main_btn"><input class="error_btn" type="button"  style="width:88px;text-align:left; cursor:pointer;" onclick="location='{#$msg.refer#}'" value="跳转"/></div>-->
</div>
</div>

<script type="text/javascript">
var time=3;
var refer='{#$smarty.const.SITE_URL#}'
if('{#$msg.time#}'!='')
{
	time='{#$msg.time#}';
}
if('{#$msg.refer#}'!='')
{
	refer='{#$msg.refer#}';
}
var jumptime=time;
if('{#$msg.back#}'=='1')
{
	setTimeout(function(){
		window.history.go(-1);
	},1000*time);
}else{
	setTimeout(function(){
		location=refer
	},1000*time);
}

getTime();
function getTime()
{
	
	jQuery('#time').html("页面跳转还有"+jumptime+"秒，或者点击<a href=\"{#$msg.refer#}\">跳转</a>");
	jumptime--;
	setTimeout("getTime()",1000);
}
</script>
</body>
</html>